<template>
  <div>
    <welcome :name="comeName"></welcome>
    <Userwid></Userwid>
  </div>
</template>

<script>
  import Welcome from './components/Welcome.vue'
  import Userwid from './components/Userwid.vue'

  export default {
    name: 'App',
    data(){
      return{
        comeName: '聊天室',
      } 
    },
    method: {

    },
    components: {Welcome,Userwid}
  }
</script>

<style>
  /* 背景*/
  body{
      background-image: url(./assets/backgroud1.jpg);
      background-repeat: no-repeat;
      background-size: 100% 100% ;
      background-attachment: fixed;
  }
</style>
